﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WqHtmlAnchorSpider
{
    public class UrlProviders204
    {
        public UrlProviders204()
        {
        }

        public List<string> GetUrls(string type, int beginPage, int endPage)
        {
            List<string> strList = new List<string>();
            if (type == AnchorType.Selfie.ToString())
            {
                if (beginPage == 1)
                {
                    strList.Add("http://duoguo.net/2048/thread.php?fid-23.html");
                }

                for (int i = beginPage + 1; i <= endPage; i++)
                {
                    strList.Add("http://duoguo.net/2048/thread.php?fid-23s-page-" + i.ToString() + ".html");
                }
            }
            return strList;
        }
    }
}